
import gevent
from gevent import monkey
monkey.patch_all()

from bottle import static_file

from bottle import route, run

from bottle import template
import os,re,time
import random
import threading
import _thread


from bottle import get, post, request # or route


@route('/showinfo')
def show():
    return static_file("load.html",root='./static/')

@get('/view/<filename:path>')
def send_static(filename):
    return static_file(filename, root='./static/')


run(host='0.0.0.0', port=7777, debug=True,server='gevent')
# run(host='0.0.0.0', port=7777, debug=True)